package com.alone.openai.api.core.param;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author Alone
 * @date 2023/3/23 4:20 下午
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ImageEditParam extends ImageGenerationParam {

    /**
     * Required
     * <p>
     * The image to edit. Must be a valid PNG file, less than 4MB, and square.
     * If mask is not provided, image must have transparency, which will be used as the mask.
     * <p>
     * 要编辑的图像。必须是有效的PNG文件，小于4mb，且正方形。
     * 如果未提供遮罩，则图像必须具有透明性，该透明性将用作遮罩。
     */
    private String image;


    /**
     * An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where image should be edited.
     * Must be a valid PNG file, less than 4MB, and have the same dimensions as image.
     * <p>
     * 一个额外的图像，其完全透明的区域 (例如，其中alpha为零) 指示图像应该被编辑的位置。
     * 必须是有效的PNG文件，小于4mb，并且尺寸与图像相同。
     */
    private String mask;


}
